package com.zhengke.pojo;

/**
 * TvUserCreditDetail entity. @author MyEclipse Persistence Tools
 */

public class TvUserCreditDetail implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Integer creditId;
	private String userId;
	private Integer orderId;
	private String orderSn;
	private Double orderAmount;
	private Short badCreditNum;

	// Constructors

	/** default constructor */
	public TvUserCreditDetail() {
	}

	/** minimal constructor */
	public TvUserCreditDetail(Integer creditId,String userId, Integer orderId,
			String orderSn, Double orderAmount) {
		this.creditId = creditId;
		this.userId = userId;
		this.orderId = orderId;
		this.orderSn = orderSn;
		this.orderAmount = orderAmount;
	}

	/** full constructor */
	public TvUserCreditDetail(Integer creditId,String userId, Integer orderId,
			String orderSn, Double orderAmount, Short badCreditNum) {
		this.creditId = creditId;
		this.userId = userId;
		this.orderId = orderId;
		this.orderSn = orderSn;
		this.orderAmount = orderAmount;
		this.badCreditNum = badCreditNum;
	}

	// Property accessors
	
	public Integer getCreditId() {
		return creditId;
	}
	
	public void setCreditId(Integer creditId) {
		this.creditId = creditId;
	}

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	public Double getOrderAmount() {
		return this.orderAmount;
	}

	public void setOrderAmount(Double orderAmount) {
		this.orderAmount = orderAmount;
	}

	public Short getBadCreditNum() {
		return this.badCreditNum;
	}

	public void setBadCreditNum(Short badCreditNum) {
		this.badCreditNum = badCreditNum;
	}

}